package com.wzy.content.service;

import com.wzy.content.model.po.CourseTeacher;

import java.util.List;

/**
 * @Author wzy
 * @Date 2024/1/1 19:04
 * @description: 课程老师业务接口
 */
public interface CourseTeacherService {
    /**
     * 根据课程id查询老师
     * @param courseId 课程id
     * @return
     */
    List<CourseTeacher> getListCourseTeacher(Long courseId);

    /**
     * 新增和修改老师
     * @param companyId 机构id
     * @param courseTeacher 新增信息
     * @return
     */
    CourseTeacher saveAndUpdateCourseTeacher(Long companyId, CourseTeacher courseTeacher);

    /**
     * 删除课程老师
     * @param companyId 机构id
     * @param courseId 课程id
     * @param teacherId 老师id
     */
    void deleteCourseTeacher(Long companyId, Long courseId, Long teacherId);
}
